package com.wallet.my.service;

import com.sun.org.apache.bcel.internal.generic.NEW;

import javax.servlet.http.HttpSession;
import java.io.File;
import java.util.Map;

/**
 * 导入账户的接口
 **/
public interface ImportAccountService {

//    私钥导入账户
    public Map<String, Object> importAccountByPrivateKey(String privateKey, HttpSession session);

//    keystore和password导入账户
    public Map<String, Object> importAccountByKeystore(String password, File keystore,HttpSession session);

//    助记词导入指定分层地址的账户
    public Map<String, Object> importAccountByMnemonic(String mnemonic,String accountPath,HttpSession session);

//    助记词和地址解锁账户
    public Map<String, Object> unlockAccountByMnemonic(String mnemonic,String accountPath,HttpSession session);


////    助记词导入根账户
//    public Map<String, Object> importRootByMnemonic(String mnemonic);


}
